package views;
import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;


public class RentInfoPanel extends JPanel {
	private JTable table;

	/**
	 * Create the panel.
	 */
	public RentInfoPanel() {
		setLayout(new BorderLayout(0, 0));
		
		String[] columnNames = {"Date",
                "Reservation Time",
                "Car",
                "Location",
                "Amount",
                "Return Status"};
		
		Object[][] data = {
				{"1","1","1","1","1","1",}
			};
		
		table = new JTable(data, columnNames);
		add(new JScrollPane(table), BorderLayout.CENTER);

	}

}
